import { SITE_DOMAIN } from '@/stores/modules/site/constant'

export const getXSiteDomain = () => {
    // 非开发环境直接取当前origin
    if (BUILD_ENV !== 'dev') return window.origin

    return SITE_DOMAIN[BUILD_ENV].country
}
